package net.sansi.v3correctserver.service.color.impl;

import net.sansi.v3correctserver.dto.v3serverapi.V3ServerApiColorDto;
import net.sansi.v3correctserver.service.color.ColorService;
import net.sansi.v3correctserver.service.v3serverapi.V3ServerColorApi;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ColorServiceImpl implements ColorService {

    @Resource
    private V3ServerColorApi v3ServerColorApi;

    @Override
    public V3ServerApiColorDto.factor gamma(String screenId) {
        return v3ServerColorApi.gamma(screenId);
    }

    @Override
    public V3ServerApiColorDto.updateResp gammaUpdate(String screenId, V3ServerApiColorDto.factor data) {
        return v3ServerColorApi.gammaUpdate(screenId, data);
    }

    @Override
    public V3ServerApiColorDto.method gammaMethod(String screenId) {
        return v3ServerColorApi.gammaMethod(screenId);
    }

    @Override
    public V3ServerApiColorDto.updateResp gammaMethodUpdate(String screenId, V3ServerApiColorDto.method data) {
        return v3ServerColorApi.gammaMethodUpdate(screenId, data);
    }

    @Override
    public V3ServerApiColorDto.builtIn gammaBuiltIn(String screenId) {
        return v3ServerColorApi.gammaBuiltIn(screenId);
    }

    @Override
    public V3ServerApiColorDto.updateResp gammaBuiltInUpdate(String screenId, V3ServerApiColorDto.builtIn data) {
        return v3ServerColorApi.gammaBuiltInUpdate(screenId, data);
    }

    @Override
    public V3ServerApiColorDto.gammaCorrect gammaCorrect(String screenId) {
        return v3ServerColorApi.gammaCorrect(screenId);
    }

    @Override
    public V3ServerApiColorDto.updateResp gammaCorrectUpdate(String screenId, V3ServerApiColorDto.gammaCorrect data) {
        return v3ServerColorApi.gammaCorrectUpdate(screenId, data);
    }
}
